package com.moeciyo.android.moeciyo.net;
import com.moeciyo.android.moeciyo.mvp.model.HomeCategoryModel;

import io.reactivex.Flowable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * Created by wanglei on 2016/12/31.
 */

public interface GankService {

    @POST("data/{type}/{number}/{page}")
    Flowable<HomeCategoryModel> getGankData(@Path("type") String type,@Path("number") int pageSize,@Path("page") int pageNum);
}
